<%--
 *  File:   ReloadHandler.jsp
 *  Desc:	a handler page for reload
 *
 *  Date		         Author		      Changes
 *  2005-6-30	  andyyang		  Created
 *
 *  Copyright (C) 2000 - 2005 Oval Technologies, Inc.
 *  All rights reserved.
 *
 *  This software is the confidential and proprietary information of Oval
 *  Technologies, Inc. ("Confidential Information").  You shall not
 *  disclose such Confidential Information and shall use it only in
 *  accordance with the terms of the license agreement you entered into
 *  with Oval.
--%>
<%
    //init param
  	String privilegeCode = "ALL";
	String strModuleName = "COM";
  	String contextPath = request.getContextPath();
%>
<%@ include file="/inc/CommonHeader.inc" %>


<html>
<head>
<title>ReloadHandler</title>
<PageFlow:CheckPageFlow pageName="reloadhandler"/>
<%@ include file="/inc/AlertError.inc" %>

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="<%=contextPath%>/css/<%= strLanguageCode %>/main.css" type="text/css">
<script language="JavaScript" src="<%=contextPath%>/css/<%= strLanguageCode %>/script.js"></script>
<script language="JavaScript" src="<%=contextPath%>/js/ScriptLib.js"></script>
<script language="JavaScript">
<%--  put your custom script here   --%>
</script>
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<span style="display:none" >
    <input type="hidden" name="pagename" value="reloadhandler">
    <input type="hidden" name="actionname">
    <%
        HashMap result = (HashMap) pageContext.getAttribute("result");
        if(result==null)
            result = new HashMap();
        String key = null;
        Set keys = result.keySet();
        Iterator it = keys.iterator();
        while(it.hasNext())
        {
            key = (String) it.next();
%>
    <custom:hidden property="<%=key%>" name="result"/>
<%
        }
    %>
</span>
</body>
</html>
<%if(result.size()>0) {%><script>window.parent.page_handleResponse()</script><%}%>
